import request from '../../utils/request';
/**
 * 获取任务列表
 */
export const getTaskList = query => {
    return request({
        url: "/task/getTaskList",
        method: "get",
        params: query
    })
}
/**
 * 获取单个任务列表
 */
 export const getTask = query => {
    return request({
        url: "/task/getTask",
        method: "get",
        params: query
    })
}

/**
 * 批量删除单个任务列表
 */
 export const batchDeleteTask = query => {
    return request({
        url: "/task/batchDeleteTask",
        method: "get",
        params: query
    })
}
/**
 * 更新单个任务列表
 */
 export const updateTask = query => {
    return request({
        url: "/task/updateTask",
        method: "get",
        params: query
    })
}